package com.rfid.a252robot.bean;

import com.rfid.util.Util;
import com.spectre.generate.ConfigManager;

public class Log {
    /**
     * bookBarcode :
     * bookName :
     * day :
     * id : 0
     * opType :
     * params : {}
     * readerName :
     * readerNo :
     * robotCode :
     */

    private String bookBarcode;
    private String bookName;
    private String opType;
    String day = Util.getDate("yyyy-MM-dd");
    String time = Util.getDate("yyyy-MM-dd HH:mm:ss");
    private Params params = new Params();
    private String readerName;
    private String readerNo;
    private String robotCode = ConfigManager.INSTANCE.getGlobalConfig().getDeviceId();

    public String getBookBarcode() {
        return bookBarcode;
    }

    public void setBookBarcode(String bookBarcode) {
        this.bookBarcode = bookBarcode;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }


    public String getOpType() {
        return opType;
    }

    public void setOpType(String opType) {
        this.opType = opType;
    }

    public Params getParams() {
        return params;
    }

    public void setParams(Params params) {
        this.params = params;
    }

    public String getReaderName() {
        return readerName;
    }

    public void setReaderName(String readerName) {
        this.readerName = readerName;
    }

    public String getReaderNo() {
        return readerNo;
    }

    public void setReaderNo(String readerNo) {
        this.readerNo = readerNo;
    }

    public String getRobotCode() {
        return robotCode;
    }

    public void setRobotCode(String robotCode) {
        this.robotCode = robotCode;
    }


    class Params {

    }
}
